package com.azt.api.dto;

import java.util.List;

import javax.persistence.Transient;

import com.azt.api.pojo.Role;
import com.azt.api.pojo.User;

public class UserAuthority {
	
	@Transient
	private User user;
	
	@Transient
	private List<Role> role;//对应roleId
	
    
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public List<Role> getRole() {
		return role;
	}

	public void setRole(List<Role> role) {
		this.role = role;
	}
}
